package com.lanyou.cook.importdata.vo;

/**
 * 通用ajax请求返回结构,对于ajax请求返回结构可返回{"message":"","status":"","result":""}
 */
public class ResponseBean {

	private String message;//提示信息
	private String status;//状态码,用于粗略区分请求结果信息(实际使用时常见的有200成功和500意外内部错误,其余的由开发者自行决定)
	private Object result;//附带返回结果
	private Object result1;//附带返回结果
	
	public ResponseBean(String status,String message){
		this.status = status;
		this.message = message;
	}
	
	public ResponseBean(String status,String message,Object result){
		this.status = status;
		this.message = message;
		this.result = result;
	}
	public ResponseBean(String status,String message,Object result,Object result1){
		this.status = status;
		this.message = message;
		this.result = result;
		this.result1 = result1;
	}
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public Object getResult1() {
		return result1;
	}

	public void setResult1(Object result1) {
		this.result1 = result1;
	}
}
